package com.example.prison.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.prison.entity.AttendanceList;
import com.example.prison.entity.vo.AttendanceListVO;
import com.github.pagehelper.PageInfo;

/**
* @author jiang
* @description 针对表【attendance_list】的数据库操作Service
* @createDate 2023-04-11 17:09:50
*/
public interface AttendanceListService extends IService<AttendanceList> {

    PageInfo<AttendanceList> getAttendanceList(int pageNumber, int pageSize);

    PageInfo<AttendanceListVO> getInfoList(int pageNumber, int pageSize, String beginTime, String endTime);

    void addAttendanceRecord(AttendanceList attendanceList);

    void delete(Integer[] ids);

    AttendanceList getById(Integer id);

    PageInfo<AttendanceListVO> getListByTime(int pageNumber, int pageSize, String beginTime, String endTime);

    PageInfo<AttendanceList> getBySNOrderByTime(String SN, String beginTime, String endTime);

    AttendanceList getBySNAndTimeAndPType(String SN, String beginTime, String endTime, String ptype);

}
